#!/bin/bash
PID=`ps -ef|grep "dd-${modelName}-service"|grep -v "grep"|awk '{print $2}'`
echo "PID is $PID"
if [ "$PID" = "" ]
then
  echo "No service pid alive!"
else
 {
  kill -9 $PID
  echo "KILL $PID:"
  echo "Service stop success!"
  }
fi
